package Command;

public class Stock {
    // Stock 是请求类.

    private String name = "sst";
    private int quantity = 10;

    public void buy(){
        System.out.println("Brought name: " + name + " quantity: " + quantity);
    }

    public void sell(){
        System.out.println("Sold name: " + name + " quantity: " + quantity);
    }

}
